[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
efforts to > make ConTeXt Japanese ready. > > If I happen to have made false statements, please accept my apology. I tried > to be of help as far as I could. I grew up in Japan and know more or less how > typeset text should look like. > > Emanuel > > On Feb. 28 2024, at

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
less how typeset text should look like. Emanuel On Feb. 28 2024, at 7:44 pm, Jean-Pierre Delange wrote: > Hi Hraban ! > > I also used to write this, if the main language is European : > \definefallbackfamily [mainface] [rm] [ipamincho] > [range=cjkunifiedideographs] > > Hope

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
Hi Hraban ! I also used to write this, if the main language is European : \definefallbackfamily [mainface] [rm] [ipamincho] [range=cjkunifiedideographs] Hope this is useful anymore, JP Le 28/02/2024 à 18:34, Henning Hraban Ramm a écrit : Am 28.02.24 um 08:34 schrieb Otared Kavian: Dear

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

[NTG-context] Re: Issue with italics

2024-02-26 Thread Thomas A. Schmitz
will have to add “force=yes” to your definition of the fallback family: \definefallbackfamily [mainface] [rm] [Theano Didot] [preset=range:greek,force=yes] Your text cannot have two main languages, so \mainlanguage[fr] If you want hyphenation for your Greek passages, you can

[NTG-context] Issue with italics

2024-02-26 Thread Jean-Pierre Delange
version: 2024.01.24 22:39. Herewith are two MWE attachments (*.tex + *.pdf) with different fonts. What am I missing ? Thanks for your answers. JP \mainlanguage[fr,agr] \definefallbackfamily [mainface] [rm] [Theano Didot] [preset=range:greek] \definefontfamily [mainface] [rm

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread Marco Patzer
UTF-8 characters then do not come out in text with > Modern font. You need to select a font containing the characters you need. Or set up a fallback for a certain range: https://wiki.contextgarden.net/Command/definefallbackfami

[NTG-context] Re: \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
e some bytes in the >> distribution > > Yes, that solved the hyphenation issue. But now I am having trouble with > \phrasetext. When using uk as language code, \phrasetext does not work. > > So, use 'ua', \phrasetext works, but hyphenation does not > And use 'uk', hy

[NTG-context] \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
asetext works, but hyphenation does not And use 'uk', hyphenation works, but \phrasetext does not %== \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen
On 7/19/2023 12:36 AM, Gerben Wierda wrote: This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi

[NTG-context] Ukrainian hyphenation?

2023-07-18 Thread Gerben Wierda
This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily

[NTG-context] Re: What are these warnings/errors?

2023-07-18 Thread Gerben Wierda
tespace on top of the first page >>> >>> so, just grep for that orphaned text snippet in your style / document >> >> >> Hmm, it ('syle') is nowhere to be found in my documents. The 'syle' typo is >> found twice in ConTeXt itself, but only in manuals. &

Re: [NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-04 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年6月2日周五 19:37写道: > For Japanese I currently use > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=japanese] > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] >

[NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-02 Thread Gerben Wierda via ntg-context
For Japanese I currently use \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Gerben Wierda via ntg-context
wrote: > > > > Gerben Wierda via ntg-context <mailto:ntg-context@ntg.nl>> 于2023年5月15日周一 16:43写道: > When I use flushright, my Japanese characters get widely spaced as if > flushing right doesn't work > > Minimal example: > > % ======

Re: [NTG-context] Flushright problems with Japanese

2023-05-15 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年5月15日周一 16:43写道: > When I use flushright, my Japanese characters get widely spaced as if > flushing right doesn't work > > Minimal example: > > % === > \definefallbackfamily > [archimate] > [ss] >

[NTG-context] Flushright problems with Japanese

2023-05-15 Thread Gerben Wierda via ntg-context
When I use flushright, my Japanese characters get widely spaced as if flushing right doesn't work Minimal example: % === \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
(cyrillic and greek shown as the other languages with different character sets I use) \startmode[JA] \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \stopmode \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style

Re: [NTG-context] fallbacks

2023-04-24 Thread Sylvain Hubert via ntg-context
Thomas > > On 4/22/23 20:33, Pablo Rodriguez via ntg-context wrote: > > Hi Thomas, > > > > I don’t know what check does (maybe just check?), but the standard > > behaviour with \definefallbackfamily is only to fall back when the > > character is missing fr

Re: [NTG-context] fallbacks

2023-04-22 Thread Thomas A. Schmitz via ntg-context
with \definefallbackfamily is only to fall back when the character is missing from the main font. To force all characters from the range in the fallback font, "force=yes" is required. Here you have a minimal sample (which doesn‘t use "preset=range:greek"), adding "force=yes&qu

Re: [NTG-context] fallbacks

2023-04-22 Thread Pablo Rodriguez via ntg-context
heck does (maybe just check?), but the standard behaviour with \definefallbackfamily is only to fall back when the character is missing from the main font. To force all characters from the range in the fallback font, "force=yes" is required. Here you have a minimal sample (which doesn‘t use "preset=r

[NTG-context] fallbacks

2023-04-22 Thread Thomas A. Schmitz via ntg-context
Hi all, today, I was struggling with a fallback font I had defined, and I discovered that the key "check" doesn't work as I expected. Here's a small example: \definefallbackfamily [presentation] [serif] [TeXGyreTermes] [range=0x2329-0x232A,check=yes] \definefontfamily [presentati

[NTG-context] Font substitution for extensible symbols

2023-02-01 Thread Yaroslav Beltukov via ntg-context
is MWE: % 0x221A is the radical symbol \definefallbackfamily [MainFace] [mm] [TeX Gyre Pagella Math] [force=yes, range=0x221A] \definefontfamily [MainFace] [tf] [Cambria] % or [XITS] \definefontfamily [MainFace] [mm] [Cambria Math] % or [XITS Math] \setupbodyfont [MainFace] \starttext

Re: [NTG-context] issue with OT feature in LMTX

2022-12-04 Thread Hans Hagen via ntg-context
On 12/3/2022 2:04 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample (using current latest from 2022.12.01 13:05): \definefallbackfamily[mainface][rm][Noto Emoji] [range={0x1F004-0xFE837}, force=yes] \definefontfamily[mainface][rm][TeX Gyre Pagella

[NTG-context] issue with OT feature in LMTX

2022-12-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (using current latest from 2022.12.01 13:05): \definefallbackfamily[mainface][rm][Noto Emoji] [range={0x1F004-0xFE837}, force=yes] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface] \definestructureconversionset

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
line > > } > > ``` > > usage as follows: > > > > ```lmtx > > \pinyin{寖備}{jìn bèi} > > ``` > > The ruby command has no problem with chinese but you need a font which > has support for it. > As can be seen in my previous example you can use the style-key to >

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
e > > } > > ``` > > usage as follows: > > > > ```lmtx > > \pinyin{寖備}{jìn bèi} > > ``` > > The ruby command has no problem with chinese but you need a font which > has support for it. > As can be seen in my previous example you can use the style-ke

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
[NotoCJKvertical][NotoSanstc-Regular*default,vertical @ 24pt] \definefont[NotoCJKverticalBold][NotoSanstc-Bold*default,vertical @ 48pt] \definefallbackfamily [documentfont] [rm] [Noto Serif CJK SC] [preset=range:chinese,features={default,vertical}] \definefallbackfamily [documentfont] [ss

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Wolfgang Schuster via ntg-context
has support for it. As can be seen in my previous example you can use the style-key to switch to a different font for the annotation (e.g. \setupruby[style=\pinyinfont]). begin example \definefallbackfamily [documentfont] [rm] [Noto Serif CJK SC] [preset=range:chinese] \definefallbackfam

Re: [NTG-context] Getting started with Japanese

2022-07-09 Thread Gerben Wierda via ntg-context
Answering myself on Japanese, this actually works out of the box: \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

[NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
] \setupphrasetext[en][sheettitle={EN Core}] \setupphrasetext[ru][sheettitle={RU Ядро}] \setupphrasetext[el][sheettitle={EL AΒασικό}] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique

Re: [NTG-context] Using alegreya typescript

2022-07-06 Thread Hans Hagen via ntg-context
ures=default] \stoptypescript \starttypescript [alegreya,alegreya-light,alegreya-medium] \definefallbackfamily[alegreya][serif][gentium][range={greekandcoptic,greekextended}] \definetypeface [\typescriptone] [rm] [serif] [\typescriptone-serif] [default] \definetypeface [\typescrip

[NTG-context] Cyrillic UTF8 works, greek does not?

2022-06-22 Thread Gerben Wierda via ntg-context
What am I doing wrong? Minimum example: \setuplanguage[en][spacing=packed,patterns={en,el,ru,fr,pt}] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-06 Thread Pablo Rodriguez via ntg-context
On 6/6/22 02:19, Gerben Wierda via ntg-context wrote: > For Russian I have: > > \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:light

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Thangalin via ntg-context
Not sure, but have you tried: \definefallbackfamily [mainface] [serif] [Gentium Plus] [range=greekandcoptic] The wiki has a page on fallback fonts: https://wiki.contextgarden.net/Command/definefontfallback Searching for "greek" has numerous hits, including greekextended. Have yo

[NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Gerben Wierda via ntg-context
For Russian I have: \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Alexandre Christe via ntg-context
t (if I use the default or another font this vanishes, so it > > really comes from that file). Could anyone enlighten me? > > Hi Alex, > > you added an extra option group here: > > \definefallbackfamily [alegreya] [math] [Alegreya] > [superscriptsandsubscripts] [force=yes

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Pablo Rodriguez via ntg-context
the file > I ended up with seems to create some empty lines at the beginning of the > document (if I use the default or another font this vanishes, so it > really comes from that file). Could anyone enlighten me? Hi Alex, you added an extra option group here: \definefallbackfami

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
cal does not work anymore and one >> has to use \mathcal. >> However in almost all of my documents I use Lucida Bright OT, and in some >> occasions I replace its calligraphic letters by the slots from Asana Math >> with the following definitions: >> >> \def

Re: [NTG-context] upload

2022-03-28 Thread Mikael Sundqvist via ntg-context
mmand \cal does not work anymore and one > has to use \mathcal. > However in almost all of my documents I use Lucida Bright OT, and in some > occasions I replace its calligraphic letters by the slots from Asana Math > with the following definitions: > > \definefallbackfamily[

Re: [NTG-context] upload

2022-03-28 Thread Otared Kavian via ntg-context
documents I use Lucida Bright OT, and in some occasions I replace its calligraphic letters by the slots from Asana Math with the following definitions: \definefallbackfamily[myfont][math][Asana Math] [range={uppercasescript,lowercasescript}] % lucida font \definefontfamily[myfont][serif

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
ys \m{\frac{2}{3} A}, \m{\frac{1}{3} D}. \stoptext \definefallbackfamily[story][serif][notoserif][range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] \definefontfamily [story] [sans] [Latin Modern Sans] \definefontfamily [story] [mono] [Latin Modern

Re: [NTG-context] TeXGyre Heros on Firefox

2022-03-10 Thread Hans Hagen via ntg-context
][sans] [textgyreheros] \definefontfamily[mainfont][mono] [texgyrecursor][features=none] \definefontfamily[mainfont][math] [texgyrepagellamath] \definefallbackfamily [mainfont] [rm] [Latin Modern Math] [scale=0.925, range=0x22C0] \definefontfeature[smallcaps][script=latn, protrusion

[NTG-context] TeXGyre Heros on Firefox

2022-03-10 Thread juh via ntg-context
][features=none] \definefontfamily[mainfont][math] [texgyrepagellamath] \definefallbackfamily [mainfont] [rm] [Latin Modern Math] [scale=0.925, range=0x22C0] \definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes] \setupalign[hz,hanging

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
t, or am I doing something wrong? Fonts in ConTeXt are always perilous, alas. For me, anyway. \definefallbackfamily[story][serif][notoserif][range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] The following two font settings are wrong, you're passin

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread śrīrāma via ntg-context
] See below a modified version of your MWE: \definefallbackfamily[story][serif][notoserif] [range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] \definefontfamily[story][sans][modern] \definefontfamily[story][mono][modern] \definefontfamily[story][mm][Te

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
ed a newer version of ConTeXt, or am I doing something wrong? Fonts in ConTeXt are always perilous, alas. For me, anyway. \definefallbackfamily[story][serif][notoserif][range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] \definefontfamily[story][sa

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-04 Thread Jeong Dal via ntg-context
rstanding about \definefontfamily. To: Youssef Cherem, Recently, Wolfgang helped me to define a font family as following, and I hope that it gives you some idea to use \definefontfamily. \definefallbackfamily [nanum] [rm] [Tex Gyre Pagella] [range={basiclatin,latinsupplement,latinextendeda,latinextendedb}

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-03 Thread Aditya Mahajan via ntg-context
On Mon, 3 Jan 2022, Hans Hagen via ntg-context wrote: > On 1/3/2022 9:41 PM, Youssef Cherem via ntg-context wrote: > > Dear all, > > > > I've come back to using Context and I noticed the nice manuals around -- > > but one thing I miss is \definefontfamily

Re: [NTG-context] context manuals -- absence of \definefontfamily

2022-01-03 Thread Hans Hagen via ntg-context
On 1/3/2022 9:41 PM, Youssef Cherem via ntg-context wrote: Dear all, I've come back to using Context and I noticed the nice manuals around -- but one thing I miss is \definefontfamily (and \definefallbackfamily). There is info here: https://wiki.contextgarden.net

[NTG-context] context manuals -- absence of \definefontfamily

2022-01-03 Thread Youssef Cherem via ntg-context
Dear all, I've come back to using Context and I noticed the nice manuals around -- but one thing I miss is \definefontfamily (and \definefallbackfamily). There is info here: https://wiki.contextgarden.net/Use_fonts_distributed_with_ConTeXt and then checking out the specific page: https

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Wolfgang Schuster via ntg-context
\definefontfamily and \definefallbackfamily also for monospaced fonts. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:06: On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: Try with the following: \definefallbackfamily [malayalam] [serif] [TeX Gyre Pagella][range=controlpictures,force=yes] \definefontfamily [malayalam] [serif] [RIT Rachana

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: > Try with the following: > > \definefallbackfamily > [malayalam] > [serif] > [TeX Gyre Pagella][range=controlpictures,force=yes] > \definefontfamily > [malayalam] > [serif] > [RIT R

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: > Try with the following: > > \definefallbackfamily > [malayalam] > [serif] > [TeX Gyre Pagella][range=controlpictures,force=yes] > \definefontfamily > [malayalam] > [serif] > [RIT R

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread kauśika via ntg-context
On Saturday, January 1, 2022 1:37:49 PM IST Ajith R wrote: > This doesn't print the open box. If I remove the definefontfamily > command or define font family using only Latin Modern, open box is > printed, but not the title. > > What am I missing? Try with the following: \defin

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Ajith R via ntg-context
elsewhere that you have \definefontfamily[…] > you can set a fallback font family with \definefallbackfamily[…] and > choose a font which has the character you want: > > ⋮ > \definefallbackfamily[mainfont][rm][Latin Modern] > [range=controlpictures,force=yes] > \definefontfamil

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2021-12-31 Thread kauśika via ntg-context
family with \definefallbackfamily[…] and choose a font which has the character you want: ⋮ \definefallbackfamily[mainfont][rm][Latin Modern] [range=controlpictures,force=yes] \definefontfamily[mainfont] […] ⋮ \setupbodyfont[mainfont] The 'controlpictures' Unicode block (≡ U+2400 – U+243F) contains the character yo

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
found it readable in plain text to use the Unicode superscript and subscript parentheses. But when typeset, they should be superscripts and subscripts. — \definefallbackfamily [mainface][serif][stixtwotext][range={00B2-00B3,00B9,02070-0208F},force=yes] \definefallbackfamily [mainface][mono][stix

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
hat I might use it for: A logic program, where I found it readable in plain text to use the Unicode superscript and subscript parentheses. But when typeset, they should be superscripts and subscripts. — \definefallbackfamily [mainface][serif][stixtwotext][range={00B2-00B3,00B9,02070-0208F},force=yes] \d

Re: [NTG-context] Math font tips and tricks

2021-11-11 Thread Marcus Vinicius Mesquita via ntg-context
Sometime ago I needed some basic math in Minion and I concocted something like follows below: % latin \definefallbackfamily [mainface] [math] [Minion Pro] [preset=math:mathematicalalphanumericsymbols,force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [preset

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Wolfgang Schuster via ntg-context
typesetting. I've referred myself to this page of the Wiki https://wiki.contextgarden.net/Command/definefontfallback <https://wiki.contextgarden.net/Command/definefontfallback>. I have tried the following, but it fails for greek letters in math mode. \definefallbackfamily       [mainface]

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Hans Hagen via ntg-context
https://wiki.contextgarden.net/Command/definefontfallback <https://wiki.contextgarden.net/Command/definefontfallback>. I have tried the following, but it fails for greek letters in math mode. \definefallbackfamily      [mainface] [math] [Minion Pro]  [range={math:lowercase

[NTG-context] Math font tips and tricks

2021-11-06 Thread Alexandre Christe via ntg-context
tried the following, but it fails for greek letters in math mode. \definefallbackfamily [mainface] [math] [Minion Pro] [range={math:lowercaseitalic,math:uppercaseitalic,math:lowercasenormal,math:uppercasenormal},force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [range

Re: [NTG-context] features of fallback font

2021-09-07 Thread Wolfgang Schuster via ntg-context
\bf 人 bar % bar is bold, the second 人 is not \stoptext Does anyone know how to define features for fallback font? \definefallbackfamily [sylvain] [serif] [SimSun]   [range=cjkunifiedideographs,    bf={style:regular,features:boldened}] \definefontfamily [sylvain] [serif] [Latin Modern Roman

[NTG-context] rtl fontfallback family issue?

2021-06-23 Thread Alan Bowen
With the latest LMTX standalone (ConTeXt ver: 2021.06.18) the Syriac text is not printed. \setupdirections[bidi=global, method=unicode] \definefontfeature [syriac] [syriac] [language=dflt, script=syrc] \definefallbackfamily[mainface][rm][Estrangelo Edessa] [range={syriac}, features

Re: [NTG-context] oldstyle math

2021-06-02 Thread Alan Bowen
t (ConTeXt ver: > 2021.04.29 ) with > \definefontfamily[mainface][rm][STIX Two Text] > [protrusion=quality, > expansion=quality, > mode=node, > force=yes, > features={default, f:oldstyle}, > ] > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=dig

Re: [NTG-context] oldstyle math

2021-06-02 Thread Wolfgang Schuster
}, ] \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle, ] \definefontfamily[mainface][mm][STIX Two Math] \setupbodyfont[mainface, 10pt] \starttext 123456789 \m{123456789} \stoptext What have I missed? Works fine with the latest version. mtx-context | current

[NTG-context] oldstyle math

2021-06-02 Thread Alan Bowen
I no longer get oldstyle numerals in the math environment (ConTeXt ver: 2021.04.29 ) with \definefontfamily[mainface][rm][STIX Two Text] [protrusion=quality, expansion=quality, mode=node, force=yes, features={default, f:oldstyle}, ] \definefallbackfamily[mainface] [mm] [STIX Two Text] [range

Re: [NTG-context] Syriac (Estrangelo Edessa) query

2021-05-04 Thread Hans Hagen
,medi=yes,fina=yes,isol=yes, mark=yes,mkmk=yes,kern=yes,curs=yes, liga=yes,dlig=yes,rlig=yes,clig=yes,calt=yes] \definefontfeature[arabic] [semitic-complete] [script=arab] \definefontfeature[syriac] [arabic] [fin2=yes, fin3=yes, med2=yes] \definefallbackfamily[mainface][rm][estrangeloedessa] [range

[NTG-context] Syriac (Estrangelo Edessa) query

2021-05-03 Thread Alan Bowen
=yes,kern=yes,curs=yes, liga=yes,dlig=yes,rlig=yes,clig=yes,calt=yes] \definefontfeature[arabic] [semitic-complete] [script=arab] \definefontfeature[syriac] [arabic] [fin2=yes, fin3=yes, med2=yes] \definefallbackfamily[mainface][rm][estrangeloedessa] [range={syriac}, features=syriac

Re: [NTG-context] latest standalone—lua error

2021-04-30 Thread Alan Bowen
yes, > features={default, f:oldstyle}, > ] > ] > \definefallbackfamily[mainface] [mm] [STIX Two Text] > [range=digitsnormal, > force=yes, > features=f:oldstyle] > > \definefontfamily[mainface][mm][STIX Two Math] > > \setupbodyfont[mainface, 20pt] > > \starttext

Re: [NTG-context] latest standalone—lua error

2021-04-30 Thread Alan Bowen
Hi, Wolfgang— The mwe is: \definefontfamily[mainface][rm][STIX Two Text] [protrusion=quality, expansion=quality, mode=node, force=yes, features={default, f:oldstyle}, ] ] \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle] \definefontfamily

Re: [NTG-context] latest standalone—lua error

2021-04-30 Thread Wolfgang Schuster
Alan Bowen schrieb am 30.04.2021 um 13:19: Hi, Wolfgang— I copied all the fonts to a new document (file attached) and ran ConTeXt. The problem persists. The cause, I think, comes in the lines: \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features

Re: [NTG-context] latest standalone—lua error

2021-04-30 Thread Alan Bowen
Hi, Wolfgang— I copied all the fonts to a new document (file attached) and ran ConTeXt. The problem persists. The cause, I think, comes in the lines: \definefallbackfamily[mainface] [mm] [STIX Two Text] [range=digitsnormal, force=yes, features=f:oldstyle] which used to give me oldstyle

[NTG-context] latest standalone—lua error

2021-04-29 Thread Alan Bowen
lity, 223 mode=node, 224 force=yes, 225 ] 226 \definefallbackfamily[mainface] [mm] [STIX Two Text] 227 [range=digitsnormal, 228 force=yes, 229 features=f:oldstyle] 230 231 \definefontfamily[mainface][mm][STIX Two Math] 232 >> 233 \setupbodyfont[mainface

[NTG-context] Arabic place names

2021-04-09 Thread jbf
Wessam A.ttf My humble attempt: I did the following in my preamble: \definefallbackfamily [mainface] [sans] [aarslanwessama] [range=arabic] The rest of the [mainface] setups are obviously western fonts. But the fallbackfamily approach did nothing to help. I also tried: Khàbab {\switchtobodyfont

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
; tt, mm, hw and cg shapes for it. Can we add arbitrary styles? > > For example, I would use this for quotations, headings, etc. Currently, > > I either have to spare ss or use \definefont for such scenarios. > > The new commands are \definefallbackfamily and \definefontfamily. > > A sam

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Pablo Rodriguez
fy rm, ss, > tt, mm, hw and cg shapes for it.  Can we add arbitrary styles?  > For example, I would use this for quotations, headings, etc.  Currently, > I either have to spare ss or use \definefont for such scenarios. The new commands are \definefallbackfamily and \definefontfamily. A

Re: [NTG-context] \definefontfeature and script

2021-01-06 Thread Hans Hagen
nTeXt is misbehaving: \definefontfeature [onumsmcp] [script=latn, onum=yes, smcp=yes, c2sc=yes] \definefallbackfamily [mainface] [rm] [GFS Heraklit] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella

Re: [NTG-context] \definefontfeature and script

2021-01-05 Thread Pablo Rodriguez
ether ConTeXt is misbehaving: \definefontfeature [onumsmcp] [script=latn, onum=yes, smcp=yes, c2sc=yes] \definefallbackfamily [mainface] [rm] [GFS Heraklit] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pag

Re: [NTG-context] Confusion with fonts

2020-12-08 Thread T. Kurt Bond
n of a file > generated by the the ConTeXt output of pandoc using pandoc features to set > the main font to ebgaramond: > > \definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek, > force=yes] > \definefontfamily[mainface][rm][ebgaramond] > \definefontfamily[mainface][mm][Latin M

Re: [NTG-context] Confusion with fonts

2020-12-06 Thread Pablo Rodriguez
r. My explanation seeks to be effective. It might be not 100% technically right. Others might correct my point of view. You have three main options in both \definefontfamily and \definefallbackfamily, which are the three pair of brackets. \definefontfamily[identifier][rm][TeX Gyre Pagella] The f

[NTG-context] Confusion with fonts

2020-12-06 Thread T. Kurt Bond
I've got a small ConTeXt source file, that is a minimization of a file generated by the the ConTeXt output of pandoc using pandoc features to set the main font to ebgaramond: \definefallbackfamily[mainface][rm][CMU Serif][preset=range:greek, force=yes] \definefontfamily[mainface][rm][ebgaramond

Re: [NTG-context] Font protrusion and expansion

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 9:51 PM, Tommaso Gordini wrote: > Thanks Hans and thanks Pablo.  So, \usetypescript is not needed? Hi Tommaso, I never used (or needed) any typescript. But I think they aren’t needed anymore with \definefontfamily and \definefallbackfamily. Pablo -- http://www.ousia

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Alan Bowen
'rm' was ignored because no files where found. And yet Scheherazade New sits beside Scheherazade (which 2020.09.20 finds) in ~/Fonts. I fixed my definition of \definefallbackfamily—thanks for catching that. Alan On Sat, Nov 7, 2020 at 1:25 PM Pablo Rodriguez wrote: > On 11/7/20 6:58 PM, Alan Bowen

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 6:58 PM, Alan Bowen wrote: > Though Scheherazade New font loads properly with the today’s LMTX, I > cannot get it to load with LMTX from 2020.09.20 (which I must stay with > for now because the latest one has its own complaints about my files). > > \definefallback

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Hans Hagen
On 11/7/2020 6:58 PM, Alan Bowen wrote: Though Scheherazade New font loads properly with the today’s LMTX, I cannot get it to load with LMTX from 2020.09.20 (which I must stay with for now because the latest one has its own complaints about my files). \definefallbackfamily[mainface

[NTG-context] Scheherazade New loading issue

2020-11-07 Thread Alan Bowen
Though Scheherazade New font loads properly with the today’s LMTX, I cannot get it to load with LMTX from 2020.09.20 (which I must stay with for now because the latest one has its own complaints about my files). \definefallbackfamily[mainface][][Scheherazade New] [range=arabic] \definefontfamily

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes] \definefallbackfamily [mainface] [rm] [ipamincho] [range=cjkunifiedideographs] \definefallbackfamily

Re: [NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Wolfgang Schuster
}] \definefallbackfamily [alan] [mm] [STIX Two Text] [range=digitsnormal,force=yes,features=f:oldstyle] \definefontfamily [alan] [mm] [STIX Two Math] \setupbodyfont [alan] \starttext abc 123456789 xyz \m{abc\ 123456789\ xyz} \stoptext Wolfgang

Re: [NTG-context] Arabic support

2020-09-23 Thread Mohammad Hossein Bateni
e just added a new fontfallbac: > \definefallbackfamily[mainface][rm][Scheherazade] [range=arabic, > force=yes, features=arabic] > > Bidi is activated with \setupdirections[bidi=global,method=unicode] > > Is that enough for Arabic? Or are there other things I need to take care > of?

[NTG-context] Judeo-Arabic punctuation

2020-09-22 Thread Denis Maier
Hi, I'm getting weird punctuation with a judeo-arabic text: %This gives correct results \definefontfamily[hebrew][rm][SBL Hebrew] [range=hebrew, force=yes, features=hebrew] \setupbodyfont[hebrew] % This doesn't %\definefallbackfamily[mainface][rm][SBL Hebrew] [range

[NTG-context] Arabic support

2020-09-21 Thread Denis Maier
Hi Just wondering what the current support for Arabic is. Does anyone know? My document works fine for Hebrew and I've just added a new fontfallbac: \definefallbackfamily[mainface][rm][Scheherazade] [range=arabic, force=yes, features=arabic] Bidi is activated with \setupdirections[bidi

Re: [NTG-context] Problem with fonts in Lua

2020-09-18 Thread Pablo Rodriguez
ttps://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip (direct link). So the final sample might read: \definefallbackfamily [mainface] [rm] [GFS Heraklit] [preset=range:greek,force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX

Re: [NTG-context] Problem with fonts in Lua

2020-09-15 Thread Wolfgang Schuster
MANUEL GONZALEZ SUAREZ schrieb am 15.09.2020 um 12:00: Hi all: I have this minimal example (thanks to Pablo and Charles): \mainlanguage [es] \definefallbackfamily [mainface] [rm] [New Athena Unicode] [preset = range: greek, force = yes] % \definefallbackfamily [mainface] [rm] [Old Standard

[NTG-context] Problem with fonts in Lua

2020-09-15 Thread MANUEL GONZALEZ SUAREZ
Hi all: I have this minimal example (thanks to Pablo and Charles): \mainlanguage [es] \definefallbackfamily [mainface] [rm] [New Athena Unicode] [preset = range: greek, force = yes] % \definefallbackfamily [mainface] [rm] [Old Standard] % [preset = range: greek, force = yes] \definefontfamily

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread T. Kurt Bond
ola][range=playingcards,force=yes]" > > and the PLAYING CARD ACE OF SPADES still didn't show up in the output. > > It's the wrong command, you need \definefallbackfamily when you use > \definefontfontfamily. > > \definefallbackfamily[mainface][rm][Symbola][range=playingcard

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 11.09.2020 um 16:12: I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output. It's the wrong command, you need \definefallbackfamily wh

  1   2   3   4   5   >